
package com.huaweicloud.saaslanding.install.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 功能描述
 *
 * @since 2022-04-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode
@Accessors(chain = true)
public class LoadBalancerServiceDto {
    /**
     * 微服务名：数据库名-微服务名字(deployment,service,配置项名)
     */
    private String serviceName;

    /**
     * 是否是网关微服务
     */
    private Boolean isGateway;

    /**
     * 微服务端口
     */
    private int serverPort;

    /**
     * 绑定ELB实例的id
     */
    private String elbId;

    /**
     * 绑定ELB实例的公网IP
     */
    private String elbEip;

    /**
     * 绑定ELB实例的内网IP
     */
    private String elbIp;
}
